/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 旧票退回登记 (DLR)

// 查询	/invoiceRelevant/dlr/backReceipt
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/invoiceRelevant/dlr/backReceipt`, params)

// 店端旧票登记 /invoiceRelevant/dlr/registration
export const registration = (params) => axios.post(`${SERVER.WHOLESALES}/invoiceRelevant/dlr/registration`, params)

// 联系人获取 /invoiceRelevant/dlr/getRecipient
export const getRecipient = (params) => axios.post(`${SERVER.WHOLESALES}/invoiceRelevant/dlr/getRecipient`, params)


// 收件人信息维护 厂端获取 /recipient/oem/queryList
export const getRecipientList = (params) => axios.post(`${SERVER.WHOLESALES}/recipient/oem/queryList`, params)

// 快递单号 /ttFiInvoice/salesListDetail
export const getDetail = (params) => axios.get(`${SERVER.WHOLESALES}/ttFiInvoice/salesListDetail`, {
  params
})
